home *** CD-ROM | disk | FTP | other *** search
- #!/bin/sh
- #
- # Simple script to invoke cpr for an array session
- #
- # USAGE: acpr <real-user> <real-group> <args-to-cpr...>
- #
-
- CPR=${CPR:-/usr/bin/cpr}
-
- #
- # The "real-user" and "real-group" arguments are now archaic,
- # and can be discarded
- #
- shift 2
-
- #
- # Invoke cpr if it actually exists
- #
- if [ -x $CPR ]; then
- exec $CPR -A $*
- else
- echo "Sorry, CPR is not supported on this system"
- exit 1
- fi
-
-